package com.example.event_resource_java.commons.type;



public enum NullType {
    //从数据库查询出来的值如果为空用ifnull修改的值，int类型改为0 string类型改为null value
    SELECT_NULL(0,"null value");

    private int num;
    private String str;

    NullType(int num, String str) {
        this.num = num;
        this.str = str;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }
}
